package com.ruoyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Classname TemplatesVO
 * @Description TODO
 * @Date 2025/3/20 09:45
 * @Created by xxx
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TemplatesVO {
    private Integer id;
    private String title;
    private String image;
    private Integer imageCount;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm")
    private LocalDateTime createTime;
    private String url;
}
